Create Check Boxes: MS Excel
Are you looking for a great way to get a 'Yes' or 'No' decision from an end user using Excel? In that case, try presenting your question in the form of a Check Box.
If the user selects the box, the answer is Yes. You can store the result of the decision as a value in a cell and use that value in your code or calculations.
To see how the check box works:
- Open a blank worksheet
- Go to View | Toolbars, and choose Forms.
- Click the Check Box tool once, and click and drag in the worksheet to draw a check box.
- When you release, click the Forms toolbar's Control Properties tool, or right-click the new check box, and choose Format Control.
You'll have plenty of time later to tweak the text associated with the check box. Your first order of business is to tell Excel where to store the check box's "state." On the Control tab, enter A1 in the Cell Link field, and click OK.
When you select the check box, you'll see the value in A1 change to TRUE when checked and to FALSE when unchecked. You can use that value in your formulas. For example, you can display a custom message with a formula such as the following:
=IF(A1,"Checked message","Unchecked message")
By the way, the check box Control Properties also let you set the initial value (state) for the check box. If you choose Mixed, the check box will initially appear grayed out and return a value of #N/A to the linked cell, which tells you that the item is neither checked nor unchecked.
Visit Carol's web site to learn more tips like this one!

My name is Dennis Faas and I am a senior systems administrator and IT technical analyst specializing in cyber crimes (sextortion / blackmail / tech support scams) with over 30 years experience; I also run this website! If you need technical assistance , I can help. Click here to email me now; optionally, you can review my resume here. You can also read how I can fix your computer over the Internet (also includes user reviews).
We are BBB Accredited

We are BBB accredited (A+ rating), celebrating 21 years of excellence! Click to view our rating on the BBB.